package com.ll.mapdemo;

import java.util.*;

/**
 * @author 刘龙
 * @version 1.0
 */
public class MapDemo01 {
    public static void main(String[] args) {
        Map map = new HashMap();
        map.put("no1", "ll");
        map.put("no2", "java");
        map.put("no2", "spring");
        map.put("no3", "c#");
        map.put("no4", "c#");

        // {no2=spring, no1=ll, no4=c#, no3=c#}
        System.out.println(map);

        // ll
        System.out.println(map.get("no1"));
    }
}

class Student {

}